import {createStore} from 'vuex';
interface storeState {
    count: number;
}
const store = createStore({
    state() {
        return {
            count: 0
        };
    },
    mutations: {
        add(state: storeState) {
            state.count++;
        },
        cut(state: storeState) {
            state.count--;
        }
    }
});
export default store
